﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AQK_CJXXTZ.aspx.cs" Inherits="TONLI.TJOA.Anquan.AQK_CJXXTZ" %>

<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxCallback" TagPrefix="dxcb" %>

<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxPopupControl" TagPrefix="dxpc" %>
<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxCallbackPanel" TagPrefix="dxcp" %>
<%@ Register Assembly="DevExpress.Web.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dxrp" %>
<%@ Register Assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="System.Web.UI" TagPrefix="cc1" %>

<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dxwgv" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v7.3, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dxe" %>
<%@ Register Assembly="DevExpress.Web.ASPxGridView.v7.3.Export, Version=7.3.5.0, Culture=neutral, PublicKeyToken=9b171c9fd64da1d1"
    Namespace="DevExpress.Web.ASPxGridView.Export" TagPrefix="dxwgv" %>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>月份车间安全信息台账</title>
        <link href="../App_Themes/treeStyle.css" rel="stylesheet" type="text/css" />
    <link href="~/common/toolbarStyle.css" type="text/css" rel="stylesheet" /> 
<link href="~/common/folder_grid.css" rel="stylesheet" type="text/css" />
<link href="~/common/dialog.css" rel="stylesheet" type="text/css" />
<link href="../App_Themes/treeStyle.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
    function fnOpenWin(parm)
    {
        ASPxCallbackPanel1.PerformCallback(escape(parm));
    }

</script>
</head>
<body style="background-color: #e5f2ff; margin: 5px; ">
    <form id="form1" runat="server">
     <div style="width: 100%;"  class="h1">
<img id="FolderGridHeadingImage" src="../common/images/treeview/file.gif" alt="无图片" />&nbsp;<div id="FolderGridHeadingText" style="display:inline;padding-left:6px;">
    <asp:Label ID="Label1" runat="server" Font-Size="Small" Width="270px"></asp:Label>&nbsp;</div></div>
    <div>
        <table border="0" class="table" width="800px">
            <tr>
                <td style="font-weight: bold;" align="center">
                    <asp:Label ID="Label2" runat="server" Text="组织单位"></asp:Label></td>
                    
                <td  width="800">
                
            <table border="0" class="table" >
            <tr>
                <td width="70px">
                    查询年月：</td>
                <td style="width: 50px; height: 21px">
                    <asp:DropDownList ID="ASPxComboTitle2" runat="server" AutoPostBack="false" Width="60px">
                    </asp:DropDownList></td>
                <td style="width: 60px; height: 21px">
                    <asp:DropDownList ID="ASPxComboTitle1" runat="server" AutoPostBack="false" Width="50px">
                    </asp:DropDownList></td>
                <td style="width: 46px; height: 14px">
                    <dxe:ASPxButton ID="ASPxButton2" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
                        CssPostfix="Office2003_Blue" Text="查询" OnClick="ASPxButton1_Click" Width="64px">
                    </dxe:ASPxButton>
                </td>
                <td style="width: 46px; height: 21px">
                    <dxe:ASPxButton ID="ASPxButton1" runat="server" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css"
                        CssPostfix="Office2003_Blue" Text="导出" OnClick="ASPxButton2_Click" Width="64px">
                    </dxe:ASPxButton>
                </td>
                </tr>
                </table>
                </td>
            </tr>
            
            <tr>
                <td valign="top" style="height: 411px">
                <asp:TreeView ID="TreeView1" style="Overflow:auto;font-size:smaller;" runat="server" Width="170px" ExpandDepth="1"  
   OnSelectedNodeChanged ="TreeView1_SelectedNodeChanged" BorderColor="LightBlue" BorderStyle="Inset" BorderWidth="1px" CollapseImageUrl="~/App_Themes/images/folder.gif" ExpandImageUrl="~/App_Themes/images/folder.gif" Font-Overline="False" Font-Size="Smaller" ImageSet="XPFileExplorer" LineImagesFolder="~/App_Themes/images/lines/" NodeWrap="True" NoExpandImageUrl="~/App_Themes/images/deletedFolder.gif" Height="400px">
                        <RootNodeStyle HorizontalPadding="1px" VerticalPadding="1px" />
                    </asp:TreeView>
                </td>
                <td colspan="5" style="height: 411px" valign="top" >
                <dxcp:ASPxCallbackPanel ID="ASPxCallbackPanel1" runat="server" Width="200px" OnCallback="ASPxCallbackPanel1_Callback" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue" ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
                        <PanelCollection>
                            <dxrp:PanelContent runat="server">
                <div>
        <dxwgv:ASPxGridView ID="ASPxGridView1" runat="server" AutoGenerateColumns="False" DataSourceID="ObjectDataSource1" Width="800px" KeyFieldName="SUID" CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue" >
            <SettingsText CommandCancel="取消" CommandDelete="删除" CommandEdit="修改" CommandNew="新建"  EmptyDataRow="暂时没有记录"
                CommandUpdate="确定" ConfirmDelete="确实要删除给纪录吗？" PopupEditFormCaption="轨道车运行计划"
                Title="月份车间安全信息台账" />
            <Images ImageFolder="~/App_Themes/Office2003 Blue/{0}/">
                <ExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
                    Width="11px" />
                <CollapsedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"
                    Width="11px" />
                <DetailCollapsedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvCollapsedButton.png"
                    Width="11px" />
                <DetailExpandedButton Height="12px" Url="~/App_Themes/Office2003 Blue/GridView/gvExpandedButton.png"
                    Width="11px" />
            </Images>
            <Settings ShowFilterRow="True" ShowTitlePanel="True" />
            <SettingsEditing Mode="PopupEditForm" PopupEditFormWidth="600px" />
            <Styles CssFilePath="~/App_Themes/Office2003 Blue/{0}/styles.css" CssPostfix="Office2003_Blue">
                <LoadingPanel ImageSpacing="10px">
                </LoadingPanel>
                <Header ImageSpacing="5px" SortingImageSpacing="5px" Wrap="True">
                </Header>
                <EditForm Wrap="False">
                </EditForm>
                <EditFormColumnCaption Wrap="False">
                </EditFormColumnCaption>
            </Styles>
            <SettingsBehavior ConfirmDelete="True" />
            <Columns>  
                <dxwgv:GridViewDataMemoColumn Caption="顺号" FieldName="SEQ" VisibleIndex="0"
                    Width="100px"></dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="部门" FieldName="JCBM" VisibleIndex="0"
                    Width="100px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="检查人" FieldName="JCRY" VisibleIndex="0"
                    Width="100px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="车间" FieldName="ZRDW" VisibleIndex="1"
                    Width="100px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataTextColumn Caption="信息编码" FieldName="XXBM" VisibleIndex="4" Width="70px">
                </dxwgv:GridViewDataTextColumn>
                    <dxwgv:GridViewDataTextColumn Caption="信息内容" FieldName="TEXT1" VisibleIndex="5"
                    Width="70px">
                    <DataItemTemplate>
                <div  style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; OVERFLOW: hidden; WIDTH: 38px; PADDING-TOP: 0px; WHITE-SPACE: nowrap; TEXT-OVERFLOW: ellipsis; TEXT-ALIGN: left">
                <%# Eval("TEXT1") %>
                </div>
                    </DataItemTemplate>
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="整改情况" FieldName="TEXT3" VisibleIndex="6"
                    Width="70px">
                    <DataItemTemplate>
                <div  style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; OVERFLOW: hidden; WIDTH: 38px; PADDING-TOP: 0px; WHITE-SPACE: nowrap; TEXT-OVERFLOW: ellipsis; TEXT-ALIGN: left">
                <%# Eval("TEXT3")%>
                </div>
                    </DataItemTemplate>
                    <CellStyle Wrap="False">
                    </CellStyle>
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="产生原因" FieldName="TEXT4" VisibleIndex="6"
                    Width="70px">
                    <DataItemTemplate>
                <div  style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; OVERFLOW: hidden; WIDTH: 38px; PADDING-TOP: 0px; WHITE-SPACE: nowrap; TEXT-OVERFLOW: ellipsis; TEXT-ALIGN: left">
                <%# Eval("TEXT4")%>
                </div>
                    </DataItemTemplate>
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="下步措施" FieldName="TEXT5" VisibleIndex="6"
                    Width="70px">
                    <DataItemTemplate>
                <div  style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; OVERFLOW: hidden; WIDTH: 38px; PADDING-TOP: 0px; WHITE-SPACE: nowrap; TEXT-OVERFLOW: ellipsis; TEXT-ALIGN: left">
                <%# Eval("TEXT5")%>
                </div>
                    </DataItemTemplate>
                    <CellStyle Wrap="False">
                    </CellStyle>
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="责任人" FieldName="RY1" VisibleIndex="6" Width="80px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="班组" FieldName="COL12" VisibleIndex="6" Width="70px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="岗位" FieldName="ZW1" VisibleIndex="6" Width="70px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataTextColumn Caption="职务" FieldName="ZW1" VisibleIndex="6" Width="70px">
                </dxwgv:GridViewDataTextColumn>
                <dxwgv:GridViewDataMemoColumn Caption="类别" FieldName="WTFL" VisibleIndex="6"
                    Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataMemoColumn Caption="级别" FieldName="WTJB" VisibleIndex="6" Width="60px">
                </dxwgv:GridViewDataMemoColumn>
                <dxwgv:GridViewDataTextColumn Caption="扣款" FieldName="JE1" VisibleIndex="6" Width="70px">
                    <PropertiesTextEdit DisplayFormatString="########.00">
                    </PropertiesTextEdit>
                </dxwgv:GridViewDataTextColumn>
                 <dxwgv:GridViewDataTextColumn Caption="身份" FieldName="GS1" VisibleIndex="6" Width="70px">
                </dxwgv:GridViewDataTextColumn>
                  <dxwgv:GridViewDataTextColumn Caption="党团员" FieldName="DY1" VisibleIndex="6" Width="70px" Visible="true">
                </dxwgv:GridViewDataTextColumn>
               <dxwgv:GridViewDataDateColumn Caption="发生时间" FieldName="FSSJ" VisibleIndex="6"
                    Width="100px">
                          <PropertiesDateEdit DisplayFormatString="yyyy-MM-dd HH:mm" >                        
                    </PropertiesDateEdit>
                </dxwgv:GridViewDataDateColumn>
                

                <dxwgv:GridViewDataTextColumn Caption="代码" FieldName="COL13" VisibleIndex="14" Width="70px">
                </dxwgv:GridViewDataTextColumn>

            </Columns>
            <SettingsPager PageSize="15">
                <Summary Text="第{0}页,共{1}页({2}条)" />
            </SettingsPager>        
        </dxwgv:ASPxGridView>
    </div>
               </dxrp:PanelContent>
                        </PanelCollection>
                    </dxcp:ASPxCallbackPanel>  
                    <input id="Text1" runat="server" style="width: 23px" type="hidden" /></td>
            </tr>
        </table>
    
    </div>

 <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"  SelectMethod="GetTJOA_AQK_KHB_CJListByha" TypeName="TONLI.TJOA.Anquan.AQK_CJXXTZ">
           
            <SelectParameters>
                <asp:SessionParameter Name="DeptDate" SessionField="DeptDate" />
            </SelectParameters>
            
        </asp:ObjectDataSource>                <dxwgv:ASPxGridViewExporter id="ASPxGridViewExporter1" runat="server" FileName="设备冬检计划表"
            GridViewID="ASPxGridView1">
        </dxwgv:ASPxGridViewExporter>
    </form>
</body>
</html>
